P_ULOOP(8, {
  pd = (ps1 + ps2) >> 1;
})